.star-management-page {
  background-color: #f8f9fa;
  min-height: 100vh;
}

/* 加载状态 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300rpx;
}

/* 列表滚动 */
.rating-scroll {
  flex: 1;
}

/* 评价项 */
.rating-item {
  background-color: #fff;
  margin: 16rpx;
  border-radius: 12rpx;
  padding: 20rpx;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 评价头部 */
.rating-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16rpx;
}

.student-avatar {
  width: 80rpx;
  height: 80rpx;
  border-radius: 50%;
  margin-right: 16rpx;
  border: 2rpx solid #e0e0e0;
}

.student-info {
  flex: 1;
}

.student-name-row {
  display: flex;
  align-items: center;
  margin-bottom: 4rpx;
}

.student-name {
  font-size: 28rpx;
  font-weight: bold;
  color: #333;
  margin-right: 12rpx;
}

.rating-stars {
  display: flex;
  align-items: center;
}

.rating-date {
  font-size: 22rpx;
  color: #999;
}

/* 回复按钮 */
.reply-btn {
  background-color: #1890ff;
  color: #fff;
  padding: 8rpx 20rpx;
  border-radius: 16rpx;
}

.reply-btn-text {
  font-size: 24rpx;
  font-weight: bold;
}

/* 评价内容 */
.rating-content {
  font-size: 28rpx;
  color: #333;
  line-height: 1.6;
  margin-bottom: 16rpx;
}

/* 评价图片 */
.rating-images {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 16rpx;
}

.rating-image {
  width: 180rpx;
  height: 180rpx;
  margin-right: 16rpx;
  margin-bottom: 16rpx;
  border-radius: 8rpx;
  overflow: hidden;
}

.rating-image image {
  width: 100%;
  height: 100%;
}

/* 教练回复 */
.coach-reply {
  background-color: #f5f5f5;
  padding: 16rpx;
  border-radius: 8rpx;
  margin-top: 16rpx;
}

.reply-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8rpx;
}

.reply-label {
  font-size: 24rpx;
  color: #666;
  font-weight: bold;
}

.reply-date {
  font-size: 20rpx;
  color: #999;
}

.reply-content {
  font-size: 26rpx;
  color: #333;
  line-height: 1.5;
}

/* 空状态 */
.empty-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100rpx 0;
}

.empty-text {
  font-size: 28rpx;
  color: #999;
  margin-top: 20rpx;
}

/* 弹窗样式 */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 999;
}

.modal-content {
  background-color: #fff;
  border-top-left-radius: 20rpx;
  border-top-right-radius: 20rpx;
  padding: 30rpx;
  max-height: 80vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24rpx;
  padding-bottom: 16rpx;
  border-bottom: 1px solid #e0e0e0;
}

.modal-title {
  font-size: 32rpx;
  font-weight: bold;
  color: #333;
}

/* 回复表单 */
.reply-form {
  margin-bottom: 20rpx;
}

.reply-to {
  font-size: 28rpx;
  color: #666;
  margin-bottom: 12rpx;
  font-weight: bold;
}

.original-rating {
  font-size: 26rpx;
  color: #999;
  margin-bottom: 20rpx;
  padding: 12rpx;
  background-color: #f5f5f5;
  border-radius: 8rpx;
  line-height: 1.4;
}

.reply-input {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 8rpx;
  padding: 16rpx;
  font-size: 28rpx;
  color: #333;
  min-height: 200rpx;
  box-sizing: border-box;
  resize: none;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30rpx;
}

.cancel-btn,
.submit-btn {
  flex: 1;
  text-align: center;
  padding: 16rpx;
  border-radius: 8rpx;
  font-size: 28rpx;
  font-weight: bold;
}

.cancel-btn {
  background-color: #f5f5f5;
  color: #666;
  margin-right: 16rpx;
}

.submit-btn {
  background-color: #1890ff;
  color: #fff;
  margin-left: 16rpx;
}

.cancel-btn-text,
.submit-btn-text {
  font-size: 28rpx;
  font-weight: bold;
}